Package com.cisco.pt.ipc.sim
Interface Network
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
NetworkImpl
Information provided by the PKI file:
\class Network
\brief Network is the entry point for all device configurations in the network. It retrieves devices.
\example network()
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:getDeviceAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:getLinkAt(int index) intdoublegetTotalDeviceAttributeValue(String attributeName) Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
getDevice
Information provided by the PKI file:
\brief Returns the device with the specified device name. \param deviceName, the device name of the device of interest. \return Device, the Device object with the specified device name.- Parameters:
deviceName- Takes in a parameter of deviceName- Returns:
- Device Returns a Device
-
getDeviceAt
Information provided by the PKI file:
\brief Returns the device at the specified index. \param index, the index of the device of interest. \return Device, the Device object at the specified index.- Parameters:
index- Takes in a parameter of index- Returns:
- Device Returns a Device
-
getDeviceCount
int getDeviceCount()Information provided by the PKI file:
\brief Returns the number of devices in the network. \return int, the number of devices in the network.- Returns:
- int Returns a int
-
getLinkCount
int getLinkCount()- Returns:
- int Returns a int
-
getLinkAt
- Parameters:
index- Takes in a parameter of index- Returns:
- Link Returns a Link
-
getTotalDeviceAttributeValue
- Parameters:
attributeName- Takes in a parameter of attributeName- Returns:
- double Returns a double
-